home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
answrbok
/
8_12.lha
/
8_12
/
makefile
< prev
next >
Wrap
Makefile
|
1993-08-08
|
1KB
|
43 lines
C= CC -I. -I../../CC
FLAGS=
ll: tst12 tst3 tst4
st12: tst12.o all.o memmove.o
$(CC) tst12.o all.o -o tst12 memmove.o
st3: tst3.o all.o memmove.o
$(CC) tst3.o all.o -o tst3 memmove.o
st4: tst4.o all.o memmove.o
$(CC) tst4.o all.o -o tst4 memmove.o
emmove.o: memmove.c
$(CC) -c memmove.c
ll.o: all.c pat.h 8_12a.h 8_12a1.c 8_12a2.c 8_12a3.c 8_12a4.c 8_12a5.c 8_12b.h 8_12b1.h 8_12b2.h 8_12b3.h 8_12b4.h 8_12b5.c
$(CC) $(CFLAGS) -c all.c
st12.o: tst12.c 8_12a.h 8_12b.h 8_12b1.h 8_12b2.h 8_12b3.h 8_12b4.h pat.h
$(CC) $(CFLAGS) -c tst12.c
st3.o: tst3.c 8_12a.h 8_12b.h 8_12b1.h 8_12b2.h 8_12b3.h 8_12b4.h pat.h
$(CC) $(CFLAGS) -c tst3.c
st4.o: tst4.c 8_12a.h 8_12b.h 8_12b1.h 8_12b2.h 8_12b3.h 8_12b4.h pat.h
$(CC) $(CFLAGS) -c tst4.c
UT= tst12.out tst3.out tst4.out
MP= tst12.cmp tst3.cmp tst4.cmp
st12.out: tst12 ; tst12 < pat.input > tst12.out
st3.out: tst3 ; tst3 < pat3.input > tst3.out
st4.out: tst4 ; tst4 < pat4.input > tst4.out
est: all $(OUT) $(CMP)
cat pat.input
cmp tst12.out tst12.cmp
cmp tst3.out tst3.cmp
cmp tst4.out tst4.cmp
@echo test done